package com.simtop.service;

import com.simtop.pojo.SwyDone;
import com.simtop.pojo.SwyDone2;
import com.simtop.pojo.YongdaoPo;
import com.simtop.pojo.newOneListVo;
import com.simtop.pojo.wddata.MainTain;
import com.simtop.pojo.wddata.WdDate;
import com.simtop.pojo.wddata.api;
import com.simtop.vo.Echarts3Vo;
import com.simtop.vo.MessageVo;
import com.simtop.vo.Swread;
import com.simtop.vo.UserVoS;

import java.util.ArrayList;
import java.util.List;

public interface ApiService {


    void saverapi(String data, String createtime, String plant);

    api findAlldevice();


    boolean managedata(List<WdDate> lastDate, String plant);

    List<MainTain> findAlldeviceList();

    WdDate findDeviceValue(int deviceId,String testType);

    WdDate findDeviceStatusValue(int deviceId);


    void updateDevice(Integer deviceId , String devicepolicelist, String testLocation, Integer deviceNormalup, Integer devicePolicedown);

    void insertYongdao(List<YongdaoPo> YongDao);

    List<SwyDone> findAllSwyDone();

    List<SwyDone> findAllSwyDone1();

    List<SwyDone2> findAllSwyDone2();

    void deletesw();

    void deletesws();

    void insertfxuser(Integer swuserid, String data);

    newOneListVo findOneFx(Integer swuserid);

    void changeOne(Integer swuserid);

    int findAllSwyDoneOne();

    void changeOneStatus();

    void saveAllcxList(List<SwyDone> yongdaoPoList);



    void changeOneStatus2();

    int finids(Integer swuserid);

    void changezbStatus(int lastid);

    int selectStatus();

    void changeStatus1();

    void changeStatus2();

    void changeOneStatus2s();

    int finStatuszt();

    int findTameid(String userteam);

    void saveAlluser(List<UserVoS> userVoSArrayList);

    void updateBackendUser(UserVoS user);

    void saveBegin(String formatbegin);

    void saveEnd(String formatend,Integer swuserid);

    int getid(Integer swuserid);

    void getStartTime(int last,String formatend);

    List<Swread> swreadList();

    void asveAllread(List<Swread> swreadList);

    List<Swread> findsw(String tameName, String types, String readTimeBegins, String readTimeEnds,String column , String order);

    int getOne(Integer userId);

    void changeUser(Integer id);

    void changeScore(Integer score,Integer swuserid);

    List<Swread> findSwread();

    List<Swread> findSwread2(ArrayList<Integer> sqsyidlist);

    Echarts3Vo findScore();

    Echarts3Vo findContent();

    List<String> findGroupTime();

    Integer dinOneCount(String as);

    MessageVo findmessage();

    void changemessage(Integer status, String swContent);

    void deletestatusByid(Integer swuserid);
}
